MaintenanceWindowAutomationParameters.fromJson constructor

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

Implementation

factory MaintenanceWindowAutomationParameters.fromJson(
    Map<String, dynamic> json) {
  return MaintenanceWindowAutomationParameters(
    documentVersion: json['DocumentVersion'] as String?,
    parameters: (json['Parameters'] as Map<String, dynamic>?)?.map((k, e) =>
        MapEntry(
            k, (e as List).whereNotNull().map((e) => e as String).toList())),
  );
}