Image.fromJson constructor
Image.fromJson(
- Map json_
Implementation
Image.fromJson(core.Map json_)
: this(
contentUrl: json_['contentUrl'] as core.String?,
imageProperties:
json_.containsKey('imageProperties')
? ImageProperties.fromJson(
json_['imageProperties']
as core.Map<core.String, core.dynamic>,
)
: null,
placeholder:
json_.containsKey('placeholder')
? Placeholder.fromJson(
json_['placeholder'] as core.Map<core.String, core.dynamic>,
)
: null,
sourceUrl: json_['sourceUrl'] as core.String?,
);