@override T decode(Object? json) => json is Map<String, Object?> ? fromJson(json) : throw GqlifyDecodeError('object', json);