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,
      );