PublishResponse.fromJson constructor

PublishResponse.fromJson(
  1. Map json_
)

Implementation

PublishResponse.fromJson(core.Map json_)
    : this(
        messageIds: json_.containsKey('messageIds')
            ? (json_['messageIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );