InterconnectRemoteLocationConstraintsSubnetLengthRange.fromJson constructor

InterconnectRemoteLocationConstraintsSubnetLengthRange.fromJson(
  1. Object? j
)

Implementation

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