toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (defaultLeaderLocation != null)
'defaultLeaderLocation': defaultLeaderLocation!,
if (location != null) 'location': location!,
if (type != null) 'type': type!,
};