File.fromJson constructor
File.fromJson(
- Map json_
Implementation
File.fromJson(core.Map json_)
: this(
dateRange: json_.containsKey('dateRange')
? DateRange.fromJson(
json_['dateRange'] as core.Map<core.String, core.dynamic>)
: null,
etag: json_.containsKey('etag') ? json_['etag'] as core.String : null,
fileName: json_.containsKey('fileName')
? json_['fileName'] as core.String
: null,
format: json_.containsKey('format')
? json_['format'] as core.String
: null,
id: json_.containsKey('id') ? json_['id'] as core.String : null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
lastModifiedTime: json_.containsKey('lastModifiedTime')
? json_['lastModifiedTime'] as core.String
: null,
reportId: json_.containsKey('reportId')
? json_['reportId'] as core.String
: null,
status: json_.containsKey('status')
? json_['status'] as core.String
: null,
urls: json_.containsKey('urls')
? FileUrls.fromJson(
json_['urls'] as core.Map<core.String, core.dynamic>)
: null,
);