toJson method

  1. @override
Map<String, dynamic> toJson()
override

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    "@type": CONSTRUCTOR,
    "location": this.location == null ? null : this.location.toJson(),
    "title": this.title,
    "address": this.address,
    "provider": this.provider,
    "id": this.id,
    "type": this.type,
  };
}