ResourcePendingMaintenanceActions.fromJson constructor

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

Implementation

factory ResourcePendingMaintenanceActions.fromJson(
    Map<String, dynamic> json) {
  return ResourcePendingMaintenanceActions(
    pendingMaintenanceActionDetails:
        (json['PendingMaintenanceActionDetails'] as List?)
            ?.whereNotNull()
            .map((e) =>
                PendingMaintenanceAction.fromJson(e as Map<String, dynamic>))
            .toList(),
    resourceIdentifier: json['ResourceIdentifier'] as String?,
  );
}