toJson method
Implementation
@override
Map<String, dynamic> toJson() => <String, dynamic>{
'location': location.toJson(),
'zoom': zoom,
'width': width,
'height': height,
'caption': caption?.toJson(),
'@type': constructor,
};