toJson method
Returns the data fields of NotificationIcon in JSON format.
Implementation
Map<String, dynamic> toJson() {
return {
'metaDataName': metaDataName,
'backgroundColorRgb': backgroundColor?.toRgbString,
};
}
Returns the data fields of NotificationIcon in JSON format.
Map<String, dynamic> toJson() {
return {
'metaDataName': metaDataName,
'backgroundColorRgb': backgroundColor?.toRgbString,
};
}