GlobalResponseModel constructor

GlobalResponseModel(
  1. UserModel? user,
  2. String? code,
  3. String? field,
  4. String? encryptedAccessToken, {
  5. required bool ok,
  6. String message = "Process Complete",
  7. String? key,
  8. int? otp,
})

Implementation

GlobalResponseModel(
    this.user, this.code, this.field, this.encryptedAccessToken,
    {required this.ok,
    this.message = "Process Complete",
    this.key,
    this.otp});