PendingMaintenanceAction.fromJson constructor

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

Implementation

factory PendingMaintenanceAction.fromJson(Map<String, dynamic> json) {
  return PendingMaintenanceAction(
    action: json['Action'] as String?,
    autoAppliedAfterDate: timeStampFromJson(json['AutoAppliedAfterDate']),
    currentApplyDate: timeStampFromJson(json['CurrentApplyDate']),
    description: json['Description'] as String?,
    forcedApplyDate: timeStampFromJson(json['ForcedApplyDate']),
    optInStatus: json['OptInStatus'] as String?,
  );
}