toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final apiKey = this.apiKey;
  final enabled = this.enabled;
  return {
    'ApiKey': apiKey,
    if (enabled != null) 'Enabled': enabled,
  };
}