toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final locale = this.locale;
  final location = this.location;
  return {
    'Locale': locale.toValue(),
    'Location': location,
  };
}