factory KafkaVersion.fromJson(Map<String, dynamic> json) { return KafkaVersion( status: (json['status'] as String?)?.toKafkaVersionStatus(), version: json['version'] as String?, ); }