toJson method
Implementation
Map toJson() {
Map _result = {};
if (name != null) _result.addAll({"name": name});
if (style != null) _result.addAll({"style": style});
if (size != null) _result.addAll({"size": size});
return _result;
}
Map toJson() {
Map _result = {};
if (name != null) _result.addAll({"name": name});
if (style != null) _result.addAll({"style": style});
if (size != null) _result.addAll({"size": size});
return _result;
}