Layersummary.fromJson constructor
Layersummary.fromJson(
- Map json_
Implementation
Layersummary.fromJson(core.Map json_)
: this(
annotationCount: json_.containsKey('annotationCount')
? json_['annotationCount'] as core.int
: null,
annotationTypes: json_.containsKey('annotationTypes')
? (json_['annotationTypes'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
annotationsDataLink: json_.containsKey('annotationsDataLink')
? json_['annotationsDataLink'] as core.String
: null,
annotationsLink: json_.containsKey('annotationsLink')
? json_['annotationsLink'] as core.String
: null,
contentVersion: json_.containsKey('contentVersion')
? json_['contentVersion'] as core.String
: null,
dataCount: json_.containsKey('dataCount')
? json_['dataCount'] as core.int
: null,
id: json_.containsKey('id') ? json_['id'] as core.String : null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
layerId: json_.containsKey('layerId')
? json_['layerId'] as core.String
: null,
selfLink: json_.containsKey('selfLink')
? json_['selfLink'] as core.String
: null,
updated: json_.containsKey('updated')
? json_['updated'] as core.String
: null,
volumeAnnotationsVersion:
json_.containsKey('volumeAnnotationsVersion')
? json_['volumeAnnotationsVersion'] as core.String
: null,
volumeId: json_.containsKey('volumeId')
? json_['volumeId'] as core.String
: null,
);