firebase_data_connect library
Classes
- AnyValue
- ConnectorConfig
- ConnectorConfig options required for connecting to a Data Connect instance.
- DataConnectFieldPathSegment
- DataConnectListIndexPathSegment
-
DataConnectOperationFailureResponse<
T> - Nested class containing errors and decoded data.
- DataConnectOperationFailureResponseErrorInfo
- Error information per error.
- FirebaseDataConnect
- DataConnect class
-
MutationRef<
Data, Variables> -
OperationRef<
Data, Variables> - Reference to a specific query. Contains variables, transport to execute queries, and serialization/deserialization strategies.
-
OperationResult<
Data, Variables> - Result of an Operation Request (query/mutation).
-
Optional<
T> - Optional Class that allows users to pass in null or undefined for properties on a class. If the state value is set, then we make sure to include it in the request over the wire. If it's unset, then the value is ignored when sending over the wire.
-
QueryRef<
Data, Variables> -
QueryResult<
Data, Variables> - Result of a query request. Created to hold extra variables in the future.
- Timestamp
- Timestamp class is a custom class that allows for storing of nanoseconds.
Enums
- CallerSDKType
- DataConnectErrorCode
- Types of DataConnect errors that can occur.
- OptionalState
- Keeps track of whether the value has been set or not
Functions
-
defaultSerializer(
dynamic v) → dynamic -
emptySerializer(
Object? _) → String -
listDeserializer<
T> (DynamicDeserializer< T> deserializer) → DynamicDeserializer<List< T> > -
listSerializer<
T> (DynamicSerializer< T> serializer) → DynamicSerializer<List< T> > -
nativeFromJson<
T> (dynamic input) → T -
nativeToJson<
T> (T type) → dynamic
Typedefs
-
Deserializer<
Data> = Data Function(String data) -
Serializer<
Variables> = String Function(Variables vars)
Exceptions / Errors
- DataConnectError
- Error thrown when DataConnect encounters an error.
-
DataConnectOperationError<
T> - Error thrown when an operation is partially successful.