ApiService class

Constructors

ApiService()

Properties

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

Methods

createPost(Post post) → Future<Post>
deletePost(int id) → Future<void>
getPosts() → Future<List<Post>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
updatePost(int id, Post post) → Future<Post>

Operators

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