$Dimensions.fromJson constructor
$Dimensions.fromJson(
- Map json_
Implementation
$Dimensions.fromJson(core.Map json_)
: this(
heightPixels: json_.containsKey('heightPixels')
? json_['heightPixels'] as core.int
: null,
widthPixels: json_.containsKey('widthPixels')
? json_['widthPixels'] as core.int
: null,
);