LanguageAdapter class

Inheritance

Constructors

LanguageAdapter()

Properties

baseUrl String
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createModelFromApiModel({required IService service, required LanguageApiModel apiModel}) Language
override
createModelListFromApiModelList({required IService service, required List<LanguageApiModel> apiModelList}) List<Language>
inherited
fetchApiModel({required IService service, required ApiResource apiResource}) Future<Either<Error, LanguageApiModel>>
override
fetchApiResourceList({required IService service, int? offSet = 0, int? limit = 100000}) Future<Either<Error, List<LanguageApiResource>>>
override
fetchModelFromApiResource({required IService service, required LanguageApiResource apiResource}) Future<Either<Error, Language>>
inherited
fetchModelListFromApiResourceList({required IService service, required List<LanguageApiResource> apiResourceList}) Future<Either<Error, List<Language>>>
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