toJson method

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

Implementation

@override
Map<String, Object> toJson() {
  return {
    "type": "email_password",
    "email": username,
    "password": password,
  };
}