17 lines
412 B
Dart
17 lines
412 B
Dart
// ignore_for_file: invalid_annotation_target
|
|
|
|
import 'package:freezed_annotation/freezed_annotation.dart';
|
|
|
|
part 'organization.freezed.dart';
|
|
part 'organization.g.dart';
|
|
|
|
@freezed
|
|
abstract class Organization with _$Organization {
|
|
const factory Organization({
|
|
required String? name,
|
|
|
|
}) = _Organization;
|
|
|
|
factory Organization.fromJson(Map<String, Object?> json) =>
|
|
_$OrganizationFromJson(json);
|
|
} |