Authorization class Null safety

Model class for an authorization.

Annotations

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?
read / write
createdAt DateTime?
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id int?
read / write
note String?
read / write
noteUrl String?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
scopes List<String>?
read / write
token String?
read / write
updatedAt DateTime?
read / write
user User?
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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