importMappings property

Map<String, String>? importMappings
final

specifies mappings between a given class and the import that should be used for that class in the format of type=import,type=import. You can also have multiple occurrences of this option.

--import-mappings

e.g {'OffsetDate': 'package:time_machine/time_machine.dart'}

Implementation

final Map<String, String>? importMappings;