putMethods static method

Future putMethods(
  1. dynamic data,
  2. String url,
  3. String token,
  4. String orgId,
  5. String schemeId,
)

Implementation

static Future<dynamic> putMethods(
    var data, String url, String token, String orgId, String schemeId) async {
  var response = await client.put(Uri.parse(url),
      headers: <String, String>{
        'Content-Type': 'application/json; charset=UTF-8',
        'Authorization': token,
        'X-Org-Id': orgId,
        'X-Client-Id': schemeId
      },
      body: data);
  return response;
}