operator == method

  1. @override
bool operator ==(
  1. Object other
)
override

For comparing with other Media instances.

Implementation

@override
bool operator ==(Object other) {
  if (other is Media) {
    return other.uri == uri;
  }
  return false;
}