toJson method

Map<String, Object?> toJson()

Implementation

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

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