mapMap top-level constant

  1. @Deprecated('''Use the [mapMapped] annotation, having in attention that [mapMapped] defines a microsecond precision for Duration properties, which is a breaking change from versions below 3.0.0. In order to restore the previous defaults, add a build.yaml file containing the following: # Read about `build.yaml` at https://pub.dev/packages/build_config targets: \$default: builders: map_mapper_generator:map_map_generator: options: durationPrecision: microseconds dateTimeRepresentation: iso8601String ''')
MapMap const mapMap

Implementation

@Deprecated(
    '''Use the [mapMapped] annotation, having in attention that [mapMapped] defines a microsecond precision for Duration properties,
which is a breaking change from versions below 3.0.0.

In order to restore the previous defaults, add a build.yaml file containing the following:

# Read about `build.yaml` at https://pub.dev/packages/build_config
targets:
  \$default:
    builders:
     map_mapper_generator:map_map_generator:
        options:
          durationPrecision: microseconds
          dateTimeRepresentation: iso8601String

''')
const mapMap = MapMap(durationPrecision: TimePrecision.milliseconds);