OfflineFirstModelDictionaryGenerator class

Constructors

OfflineFirstModelDictionaryGenerator(String remoteProviderName)
All classes annotated with @ConnectOfflineFirstWith$remoteProviderName
const

Properties

hashCode int
The hash code for this object.
no setterinherited
remoteProviderName String
The capitalized domain, e.g. Rest.
final
requiredImports String
As a part, adapters have access to imports in the model dictionary file so any methods that incorporate Type definitions should be listed here. For example, importing a SqliteProvider or a DatabaseExecutor. Consider adding analyzer ignores to disable 'unused_import' warnings.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

adaptersFromFiles(Map<String, String> classNamesToFileNames) String
Adapter part imports
inherited
dictionaryFromFiles(Map<String, String> classNamesToFileNames) String
inherited
generate(Map<String, String> classNamesToFileNames) String
Complete modelDictionary code, including imports classNamesToFileNames are filenames included to generate the import/export statements
modelsFromFiles(Map<String, String> classNamesToFileNames) String
Model imports
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited