toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final defaultLeaderLocation = this.defaultLeaderLocation;
final location = this.location;
final type = this.type;
return {
'defaultLeaderLocation': ?defaultLeaderLocation,
'location': ?location,
'type': ?type,
};
}