22 lines
468 B
Dart
22 lines
468 B
Dart
import 'package:equatable/equatable.dart';
|
|
|
|
class Field extends Equatable {
|
|
final String id;
|
|
final String name;
|
|
final double area;
|
|
final String userId;
|
|
final String? description;
|
|
final String? location;
|
|
|
|
const Field({
|
|
required this.id,
|
|
required this.name,
|
|
required this.area,
|
|
required this.userId,
|
|
this.description,
|
|
this.location,
|
|
});
|
|
|
|
@override
|
|
List<Object?> get props => [id, name, area, userId, description, location];
|
|
} |