ModerateTextRequest.fromJson constructor

ModerateTextRequest.fromJson(
  1. Map json_
)

Implementation

ModerateTextRequest.fromJson(core.Map json_)
    : this(
        document: json_.containsKey('document')
            ? Document.fromJson(
                json_['document'] as core.Map<core.String, core.dynamic>)
            : null,
      );