updateAuthorizationPerson method

Future<void> updateAuthorizationPerson(
  1. int? personId,
  2. AuthorizationPersonRegisterDto? authorizationPersonRegisterDto
)

Implementation

Future<void> updateAuthorizationPerson (
  int? personId,
  AuthorizationPersonRegisterDto? authorizationPersonRegisterDto
) async {
  String path = "/authorization-person/$personId";
  await put(path, body: authorizationPersonRegisterDto, requireAuthorization:true) ?? {};
}