MessageBatchCreatedEventData.fromJson constructor

MessageBatchCreatedEventData.fromJson(
  1. Map json_
)

Implementation

MessageBatchCreatedEventData.fromJson(core.Map json_)
    : this(
        messages: json_.containsKey('messages')
            ? (json_['messages'] as core.List)
                .map((value) => MessageCreatedEventData.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );