toJson method
Implementation
@override
Map<String, dynamic>? toJson(EdgeInsetsGeometry? object) {
if (object == null) return null;
if (object is EdgeInsets) {
return <String, dynamic>{
'bottom': object.bottom,
'left': object.left,
'right': object.right,
'top': object.top,
};
}
throw 'Json_Unsuported_Value';
}