EndpointMessageResult.fromJson constructor

EndpointMessageResult.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory EndpointMessageResult.fromJson(Map<String, dynamic> json) {
  return EndpointMessageResult(
    deliveryStatus: (json['DeliveryStatus'] as String).toDeliveryStatus(),
    statusCode: json['StatusCode'] as int,
    address: json['Address'] as String?,
    messageId: json['MessageId'] as String?,
    statusMessage: json['StatusMessage'] as String?,
    updatedToken: json['UpdatedToken'] as String?,
  );
}