withDefaults method
Returns a new ConnectOfflineFirstWithGraphql instance with fields equal to the
corresponding values in this
, if not null
.
Otherwise, the returned value has the default value as defined in defaults.
Implementation
ConnectOfflineFirstWithGraphql withDefaults() => ConnectOfflineFirstWithGraphql(
graphqlConfig: graphqlConfig ?? defaults.graphqlConfig,
sqliteConfig: sqliteConfig ?? defaults.sqliteConfig,
);