RomanizeTextResponse.fromJson constructor

RomanizeTextResponse.fromJson(
  1. Map json_
)

Implementation

RomanizeTextResponse.fromJson(core.Map json_)
    : this(
        romanizations: json_.containsKey('romanizations')
            ? (json_['romanizations'] as core.List)
                .map((value) => Romanization.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );