toJson method
Implementation
Map toJson() {
return {
'id': id,
'name': name,
'vip': vip,
'optimal': optimal,
'deprecated': deprecated,
'custom': custom,
};
}
Map toJson() {
return {
'id': id,
'name': name,
'vip': vip,
'optimal': optimal,
'deprecated': deprecated,
'custom': custom,
};
}