WorkAreaInsets.fromJson constructor
Implementation
factory WorkAreaInsets.fromJson(Map<String, dynamic> json) {
return WorkAreaInsets(
top: json.containsKey('top') ? json['top'] as int : null,
left: json.containsKey('left') ? json['left'] as int : null,
bottom: json.containsKey('bottom') ? json['bottom'] as int : null,
right: json.containsKey('right') ? json['right'] as int : null,
);
}