registerRegistrationFile method

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

Implementation

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