ProjectApi class
Constructors
- ProjectApi.new(String _baseUrl, Dio dio)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createProject(
{required String name, required String ownerId, required String baseLocale, List< String> ? targetLocales, String? description}) → Future<ProjectModel> -
deleteProject(
String projectId) → Future< void> -
getProjectById(
String projectId) → Future< ProjectModel> -
getProjects(
) → Future< List< ProjectModel> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateProject(
String projectId, {String? name, String? baseLocale, List< String> ? targetLocales, String? description}) → Future<void>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited