toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (name != null) 'name': name!,
      if (sourceSentence != null) 'sourceSentence': sourceSentence!,
      if (targetSentence != null) 'targetSentence': targetSentence!,
      if (updateTime != null) 'updateTime': updateTime!,
    };