toJson method

  1. @override
Map<String, dynamic> toJson()
override

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    'grant_type': 'password',
    'username': super.cuil,
    'password': super.password,
    'totp': super.otp,
    'client_secret': super.kcSecret,
    'client_id': super.kcClient,
  };
}