toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var locale = this.locale;

  final json = <String, Object?>{};
  if (locale != null) {
    json[r'locale'] = locale;
  }
  return json;
}