putImpl method

  1. @override
Future<List> putImpl(
  1. Map<String, dynamic>? parameters,
  2. Object? payload
)
override

Implementation

@override
Future<List> putImpl(
    Map<String, dynamic>? parameters, Object? payload) async {
  var response = await call.call(parameters);
  if (response == null) return [];
  if (response is List) return response;
  return [response];
}