serialize method
Implementation
@override
dynamic serialize() => {
'type': 'simple',
'format': format,
'data': data,
};
@override
dynamic serialize() => {
'type': 'simple',
'format': format,
'data': data,
};