AdaptiveMtSentence.fromJson constructor

AdaptiveMtSentence.fromJson(
  1. Map json_
)

Implementation

AdaptiveMtSentence.fromJson(core.Map json_)
    : this(
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        sourceSentence: json_.containsKey('sourceSentence')
            ? json_['sourceSentence'] as core.String
            : null,
        targetSentence: json_.containsKey('targetSentence')
            ? json_['targetSentence'] as core.String
            : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
      );