Image.fromJson constructor
Image.fromJson(
- Map json_
Implementation
Image.fromJson(core.Map json_)
: this(
aspectRatio: json_.containsKey('aspectRatio')
? (json_['aspectRatio'] as core.num).toDouble()
: null,
imageUrl: json_.containsKey('imageUrl')
? json_['imageUrl'] as core.String
: null,
onClick: json_.containsKey('onClick')
? OnClick.fromJson(
json_['onClick'] as core.Map<core.String, core.dynamic>)
: null,
);