Thumbnail.fromJson constructor
Thumbnail.fromJson(
- Map json_
Implementation
Thumbnail.fromJson(core.Map json_)
: this(
contentType: json_.containsKey('contentType')
? json_['contentType'] as core.String
: null,
data: json_.containsKey('data') ? json_['data'] as core.String : null,
heightPx: json_.containsKey('heightPx')
? json_['heightPx'] as core.int
: null,
widthPx: json_.containsKey('widthPx')
? json_['widthPx'] as core.int
: null,
);