MessageCreatedEventData.fromJson constructor

MessageCreatedEventData.fromJson(
  1. Map json_
)

Implementation

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