toJson method
Implementation
Map toJson() {
return {
'offset': [offset.dx, offset.dy],
'opacity': opacity,
'rotation': rotation,
'scale': scale,
};
}
Map toJson() {
return {
'offset': [offset.dx, offset.dy],
'opacity': opacity,
'rotation': rotation,
'scale': scale,
};
}