updateRegistrationFile method

Future<RegistrationFileInfoDto?> updateRegistrationFile(
  1. String? clientId,
  2. String? passCode,
  3. MultipartFile? file
)

Implementation

Future<RegistrationFileInfoDto?> updateRegistrationFile (
  String? clientId,
  String? passCode,
  MultipartFile? file
) async {
  String path = "/storage/registration-file/$clientId/$passCode";
  return RegistrationFileInfoDto.fromJson(
    await put(path, exemptClient:true) ?? {}
  );
}