ListMessagesResponse.fromJson constructor

ListMessagesResponse.fromJson(
  1. Map json_
)

Implementation

ListMessagesResponse.fromJson(core.Map json_)
    : this(
        hl7V2Messages: json_.containsKey('hl7V2Messages')
            ? (json_['hl7V2Messages'] as core.List)
                .map((value) => Message.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
      );