Authorization class

Model class for an authorization.

Annotations
  • @JsonSerializable()

Constructors

Authorization({int? id, List<String>? scopes, String? token, AuthorizationApplication? app, String? note, String? noteUrl, DateTime? createdAt, DateTime? updatedAt, User? user})
Authorization.fromJson(Map<String, dynamic> input)
factory

Properties

app AuthorizationApplication?
getter/setter pair
createdAt DateTime?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id int?
getter/setter pair
note String?
getter/setter pair
noteUrl String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scopes List<String>?
getter/setter pair
token String?
getter/setter pair
updatedAt DateTime?
getter/setter pair
user User?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited