toJson method
Implementation
Object toJson() => isUniform
? topLeft
: {
'topLeft': topLeft,
'topRight': topRight,
'bottomRight': bottomRight,
'bottomLeft': bottomLeft,
};
Object toJson() => isUniform
? topLeft
: {
'topLeft': topLeft,
'topRight': topRight,
'bottomRight': bottomRight,
'bottomLeft': bottomLeft,
};