mirrored_repositories/flutter-app-template/lib/src/features/force_update
import 'package:freezed_annotation/freezed_annotation.dart';

part 'force_update.freezed.dart';
part 'force_update.g.dart';

@freezed
class ForceUpdate with _$ForceUpdate {
  const factory ForceUpdate({
    required String forceUpdateThresholdVersion,
    required bool isForceUpdateEnabled,
  }) = _ForceUpdate;

  factory ForceUpdate.fromJson(Map<String, Object?> json) =>
      _$ForceUpdateFromJson(json);
}
