ConfigExportDeliveryInfo.fromJson constructor

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

Implementation

factory ConfigExportDeliveryInfo.fromJson(Map<String, dynamic> json) {
  return ConfigExportDeliveryInfo(
    lastAttemptTime: timeStampFromJson(json['lastAttemptTime']),
    lastErrorCode: json['lastErrorCode'] as String?,
    lastErrorMessage: json['lastErrorMessage'] as String?,
    lastStatus: (json['lastStatus'] as String?)?.toDeliveryStatus(),
    lastSuccessfulTime: timeStampFromJson(json['lastSuccessfulTime']),
    nextDeliveryTime: timeStampFromJson(json['nextDeliveryTime']),
  );
}