add abstract method

Future add(
  1. dynamic body
)

Adds a new item to the data source.

  • body: The payload to be sent for creation (e.g. a Map or model object). Example: add({'name': 'New Item', 'price': 99.99})

Returns a Future with the result of the operation (e.g., created item or status).

Implementation

Future<dynamic> add(dynamic body);