fbmobile/lib/core/models/rest/apikeys.dart

21 lines
437 B
Dart
Raw Normal View History

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
2023-01-16 00:44:34 +00:00
factory ApiKeys.fromJson(Map<String, dynamic> json) =>
_$ApiKeysFromJson(json);
// JSON Export
Map<String, dynamic> toJson() => _$ApiKeysToJson(this);
}