SchedulingOnInstanceStopAction.fromJson constructor

SchedulingOnInstanceStopAction.fromJson(
  1. Object? j
)

Implementation

factory SchedulingOnInstanceStopAction.fromJson(Object? j) {
  final json = j as Map<String, Object?>;
  return SchedulingOnInstanceStopAction(
    discardLocalSsd: switch (json['discardLocalSsd']) {
      null => null,
      Object $1 => decodeBool($1),
    },
  );
}