toJson method

Map<String, Object?> toJson()

Implementation

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

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