Bounds.fromJson constructor
Implementation
factory Bounds.fromJson(Map<String, dynamic> json) {
return Bounds(
left: json.containsKey('left') ? json['left'] as int : null,
top: json.containsKey('top') ? json['top'] as int : null,
width: json.containsKey('width') ? json['width'] as int : null,
height: json.containsKey('height') ? json['height'] as int : null,
windowState:
json.containsKey('windowState')
? WindowState.fromJson(json['windowState'] as String)
: null,
);
}