equalsDeep method

  1. @override
bool equalsDeep(
  1. FhirBase? o
)
override

Performs a deep comparison between two instances.

Implementation

@override
bool equalsDeep(FhirBase? o) {
  if (o is! VirtualServiceDetail) {
    return false;
  }
  if (identical(this, o)) return true;
  if (runtimeType != o.runtimeType) return false;
  if (!equalsDeepWithNull(
    id,
    o.id,
  )) {
    return false;
  }
  if (!listEquals<FhirExtension>(
    extension_,
    o.extension_,
  )) {
    return false;
  }
  if (!equalsDeepWithNull(
    channelType,
    o.channelType,
  )) {
    return false;
  }
  if (!equalsDeepWithNull(
    addressX,
    o.addressX,
  )) {
    return false;
  }
  if (!listEquals<FhirUrl>(
    additionalInfo,
    o.additionalInfo,
  )) {
    return false;
  }
  if (!equalsDeepWithNull(
    maxParticipants,
    o.maxParticipants,
  )) {
    return false;
  }
  if (!equalsDeepWithNull(
    sessionKey,
    o.sessionKey,
  )) {
    return false;
  }
  return true;
}