Image.fromJson constructor
Image.fromJson(
- Map json_
Implementation
Image.fromJson(core.Map json_)
: this(
altText: json_.containsKey('altText')
? json_['altText'] as core.String
: null,
contentUri: json_.containsKey('contentUri')
? json_['contentUri'] as core.String
: null,
properties: json_.containsKey('properties')
? MediaProperties.fromJson(
json_['properties'] as core.Map<core.String, core.dynamic>)
: null,
sourceUri: json_.containsKey('sourceUri')
? json_['sourceUri'] as core.String
: null,
);