SendMessageRequest.fromJson constructor

SendMessageRequest.fromJson(
  1. Map json_
)

Implementation

SendMessageRequest.fromJson(core.Map json_)
    : this(
        message: json_.containsKey('message')
            ? Message.fromJson(
                json_['message'] as core.Map<core.String, core.dynamic>)
            : null,
        validateOnly: json_.containsKey('validateOnly')
            ? json_['validateOnly'] as core.bool
            : null,
      );