OtpStatusResponse.fromResponse constructor

OtpStatusResponse.fromResponse(
  1. Response response
)

Implementation

OtpStatusResponse.fromResponse(Response response)
    : super.fromResponse(response) {
  isOtpEnabled = response.data['result'];
}