19 lines
457 B
Dart
19 lines
457 B
Dart
import 'package:hive_flutter/hive_flutter.dart';
|
|
import 'package:konectar_events/utils/hivetypeids.dart';
|
|
part 'hive_api_constants.g.dart';
|
|
|
|
@HiveType(typeId: HiveTypeIdConstants.hiveApiConstantsId)
|
|
class HiveApiConstants {
|
|
@HiveField(0)
|
|
String? functionName;
|
|
@HiveField(1)
|
|
int? interval;
|
|
@HiveField(2)
|
|
String? method;
|
|
@HiveField(3)
|
|
String? module;
|
|
|
|
HiveApiConstants(
|
|
{this.functionName, this.interval, this.method, this.module});
|
|
}
|