ImportDataFile.fromJson constructor

ImportDataFile.fromJson(
  1. Map json_
)

Implementation

ImportDataFile.fromJson(core.Map json_)
    : this(
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        format: json_.containsKey('format')
            ? json_['format'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        uploadFileInfo: json_.containsKey('uploadFileInfo')
            ? UploadFileInfo.fromJson(json_['uploadFileInfo']
                as core.Map<core.String, core.dynamic>)
            : null,
      );