RomanizeTextRequest.fromJson constructor

RomanizeTextRequest.fromJson(
  1. Map json_
)

Implementation

RomanizeTextRequest.fromJson(core.Map json_)
    : this(
        contents: json_.containsKey('contents')
            ? (json_['contents'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        sourceLanguageCode: json_.containsKey('sourceLanguageCode')
            ? json_['sourceLanguageCode'] as core.String
            : null,
      );