AboutImportFormats.fromJson constructor

AboutImportFormats.fromJson(
  1. Map json_
)

Implementation

AboutImportFormats.fromJson(core.Map json_)
    : this(
        source: json_.containsKey('source')
            ? json_['source'] as core.String
            : null,
        targets: json_.containsKey('targets')
            ? (json_['targets'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );