toJson method
Implementation
Map toJson(){
Map result = {};
if (fields != null) result.addAll({"fields": fields});
return result;
}
Map toJson(){
Map result = {};
if (fields != null) result.addAll({"fields": fields});
return result;
}