11 lines
255 B
Dart
11 lines
255 B
Dart
class Venue {
|
|
final String id;
|
|
final String name;
|
|
|
|
const Venue({required this.id, required this.name});
|
|
|
|
factory Venue.fromJson(Map<String, dynamic> json) => Venue(
|
|
id: json['id'] as String,
|
|
name: json['name'] as String,
|
|
);
|
|
} |