post function

MethodWithBody post(
  1. dynamic url
)

Build fluent REST POST APIs

Example: post('/book/${id}') .json(book.toMap) .fetch((m) => Book.fromMap(m));

Implementation

MethodWithBody post(dynamic? /* String | Uri | MutUri */ url) =>
    MethodWithBody(method: 'POST', uri: url);