UIEdgeInsets.fromJson constructor
Returns a UIEdgeInsets type from a JSON
Implementation
factory UIEdgeInsets.fromJson(Map<String, dynamic> data) {
var self = UIEdgeInsets();
self._map["top"] =
data['top'] ?? {throw ArgumentError('top should not be null')};
self._map["left"] =
data['left'] ?? {throw ArgumentError('left should not be null')};
self._map["bottom"] =
data['bottom'] ?? {throw ArgumentError('bottom should not be null')};
self._map["right"] =
data['right'] ?? {throw ArgumentError('right should not be null')};
return self;
}