put function

MethodWithBody put(
  1. dynamic url
)

Build fluent REST PUT APIs

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

Implementation

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