import 'package:json_annotation/json_annotation.dart'; import 'apikeys.dart'; part 'apikeys_response.g.dart'; @JsonSerializable() class ApiKeysResponse { @JsonKey(required: true) final String status; @JsonKey(required: true) final ApiKeys data; ApiKeysResponse({required this.status, required this.data}); // JSON Init factory ApiKeysResponse.fromJson(Map json) => _$ApiKeysResponseFromJson(json); // JSON Export Map toJson() => _$ApiKeysResponseToJson(this); }