CapacityAdviceRequestInstanceProperties.fromJson constructor

CapacityAdviceRequestInstanceProperties.fromJson(
  1. Object? j
)

Implementation

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