toJson method

Map<String, dynamic> toJson()

Implementation

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