OverlayPosition.fromJson constructor
OverlayPosition.fromJson(
- Map json_
Implementation
OverlayPosition.fromJson(core.Map json_)
: this(
anchorCell: json_.containsKey('anchorCell')
? GridCoordinate.fromJson(
json_['anchorCell'] as core.Map<core.String, core.dynamic>)
: null,
heightPixels: json_.containsKey('heightPixels')
? json_['heightPixels'] as core.int
: null,
offsetXPixels: json_.containsKey('offsetXPixels')
? json_['offsetXPixels'] as core.int
: null,
offsetYPixels: json_.containsKey('offsetYPixels')
? json_['offsetYPixels'] as core.int
: null,
widthPixels: json_.containsKey('widthPixels')
? json_['widthPixels'] as core.int
: null,
);