ValidateMessageRequest.fromJson constructor

ValidateMessageRequest.fromJson(
  1. Map json_
)

Implementation

ValidateMessageRequest.fromJson(core.Map json_)
    : this(
        encoding: json_.containsKey('encoding')
            ? json_['encoding'] as core.String
            : null,
        message: json_.containsKey('message')
            ? json_['message'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        schema: json_.containsKey('schema')
            ? Schema.fromJson(
                json_['schema'] as core.Map<core.String, core.dynamic>)
            : null,
      );