fbmobile/lib/core/models/rest/apikeys.dart
2023-01-16 01:44:51 +01:00

20 lines
437 B
Dart

import 'package:json_annotation/json_annotation.dart';
import 'apikey.dart';
part 'apikeys.g.dart';
@JsonSerializable()
class ApiKeys {
@JsonKey(name: "items", required: true)
final Map<String, ApiKey> apikeys;
ApiKeys({required this.apikeys});
// JSON Init
factory ApiKeys.fromJson(Map<String, dynamic> json) =>
_$ApiKeysFromJson(json);
// JSON Export
Map<String, dynamic> toJson() => _$ApiKeysToJson(this);
}