toJson method
Serialize instance to JSON Object
Implementation
Map toJson() {
Map fromObject = {
"code": code,
"name": name,
};
return fromObject;
}
Serialize instance to JSON Object
Map toJson() {
Map fromObject = {
"code": code,
"name": name,
};
return fromObject;
}