AboutExportFormats.fromJson constructor

AboutExportFormats.fromJson(
  1. Map json_
)

Implementation

AboutExportFormats.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,
      );