Skip to content
Snippets Groups Projects
  • Nate Bosch's avatar
    Enforce and fix lints from package:pedantic (#2291) · ceaa86f2
    Nate Bosch authored
    - always_declare_return_types
    - annotate_overrides
    - curly_braces_in_flow_control_structures
    - prefer_for_elements_to_map_fromiterable
    - prefer_if_null_operators
    - prefer_single_quotes
    - prefer_spread_collections
    - unawaited_futures
    - use_function_type_syntax_for_parameters
    
    Rename a method starting with `get` to use a more accurately descriptive
    verb.
    
    Tighten the types on some methods highlighted by the
    `always_declare_return_types` lint by making them generic instead of
    returning `dynamic`.
    Unverified
    ceaa86f2