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