You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dafl_music/Sources/dafl_project_flutter/lib/model/spot.dart

18 lines
298 B

import 'music.dart';
class Spot {
String userId;
Music music;
Spot(this.userId, this.music);
@override
bool operator ==(Object other) =>
other is Spot &&
runtimeType == other.runtimeType &&
userId == other.userId;
@override
int get hashCode => music.hashCode;
}