ConfigFile.fromJson constructor

ConfigFile.fromJson(
  1. Map json_
)

Implementation

ConfigFile.fromJson(core.Map json_)
    : this(
        fileContents: json_.containsKey('fileContents')
            ? json_['fileContents'] as core.String
            : null,
        filePath: json_.containsKey('filePath')
            ? json_['filePath'] as core.String
            : null,
        fileType: json_.containsKey('fileType')
            ? json_['fileType'] as core.String
            : null,
      );