KonectarApp/lib/model/hive_api_constants.dart

19 lines
457 B
Dart
Raw Normal View History

import 'package:hive_flutter/hive_flutter.dart';
import 'package:konectar_events/utils/hivetypeids.dart';
2024-12-10 09:36:43 +00:00
part 'hive_api_constants.g.dart';
@HiveType(typeId: HiveTypeIdConstants.hiveApiConstantsId)
class HiveApiConstants {
@HiveField(0)
String? functionName;
@HiveField(1)
int? interval;
2024-12-10 09:36:43 +00:00
@HiveField(2)
String? method;
@HiveField(3)
String? module;
2024-12-10 09:36:43 +00:00
HiveApiConstants(
{this.functionName, this.interval, this.method, this.module});
}