PartOfSpeech.fromJson constructor

PartOfSpeech.fromJson(
  1. Map json_
)

Implementation

PartOfSpeech.fromJson(core.Map json_)
    : this(
        aspect: json_.containsKey('aspect')
            ? json_['aspect'] as core.String
            : null,
        case_:
            json_.containsKey('case') ? json_['case'] as core.String : null,
        form: json_.containsKey('form') ? json_['form'] as core.String : null,
        gender: json_.containsKey('gender')
            ? json_['gender'] as core.String
            : null,
        mood: json_.containsKey('mood') ? json_['mood'] as core.String : null,
        number: json_.containsKey('number')
            ? json_['number'] as core.String
            : null,
        person: json_.containsKey('person')
            ? json_['person'] as core.String
            : null,
        proper: json_.containsKey('proper')
            ? json_['proper'] as core.String
            : null,
        reciprocity: json_.containsKey('reciprocity')
            ? json_['reciprocity'] as core.String
            : null,
        tag: json_.containsKey('tag') ? json_['tag'] as core.String : null,
        tense:
            json_.containsKey('tense') ? json_['tense'] as core.String : null,
        voice:
            json_.containsKey('voice') ? json_['voice'] as core.String : null,
      );