AllocationReservationSharingPolicy.fromJson constructor

AllocationReservationSharingPolicy.fromJson(
  1. Object? j
)

Implementation

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