Level class

Class containing information about an account KYC Level

Constructors

Level.new({int? id, String? code = '', String? description = '', Level? parent, List<Level> children = const [], num? maxOut = 0})
Level.fromJson(Map<String, dynamic> json)
factory

Properties

children List<Level>
List of Levels that are hierarchically below itself, meaning they can do less that itself
final
code String?
The level's code. ie. KYC1, KYC3
final
description String?
Description about what this level allows
final
hashCode int
The hash code for this object.
no setterinherited
id int?
The level's identifier
final
maxOut num?
final
parent Level?
Parent level, can be null A parent is a role whith more hierarchy that itself, so it allows more things
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Constants

CODE_KYC1 → const String
CODE_KYC2 → const String
CODE_KYC3 → const String