toJson method
Converts this BorderConfig to a JSON map.
Implementation
Map<String, dynamic> toJson() {
return {
'enabled': enabled,
'width': width,
'color': color,
'opacity': opacity,
};
}
Converts this BorderConfig to a JSON map.
Map<String, dynamic> toJson() {
return {
'enabled': enabled,
'width': width,
'color': color,
'opacity': opacity,
};
}