ReportDelivery.fromJson constructor

ReportDelivery.fromJson(
  1. Map json_
)

Implementation

ReportDelivery.fromJson(core.Map json_)
    : this(
        emailOwner: json_.containsKey('emailOwner')
            ? json_['emailOwner'] as core.bool
            : null,
        emailOwnerDeliveryType: json_.containsKey('emailOwnerDeliveryType')
            ? json_['emailOwnerDeliveryType'] as core.String
            : null,
        message: json_.containsKey('message')
            ? json_['message'] as core.String
            : null,
        recipients: json_.containsKey('recipients')
            ? (json_['recipients'] as core.List)
                .map((value) => Recipient.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );