EndUserAgreementModel class
End-user Agreement Data Model for Nordigen.
Contains the id of the Agreement, its created time string, accepted, the number of maxHistoricalDays and accessValidForDays, and the accessScope and institutionID relevant to the Agreement.
Constructors
-
EndUserAgreementModel({required String id, String? created, int maxHistoricalDays = 90, int accessValidForDays = 90, List<
String> accessScope = const <String>['balances', 'details', 'transactions'], String? accepted, required String institutionID}) - EndUserAgreementModel.fromMap(dynamic fetchedMap)
-
For easy Data Model Generation from Map fetched by querying Nordigen.
factory
Properties
- accepted → String?
-
Time of End User Agreement acceptance (if any) in ISO8601 DateTime String
final
-
accessScope
→ List<
String> -
User ID associated with the transaction (typically UUID)
final
- accessValidForDays → int
-
Days that the agreement is valid for.
final
- created → String
-
Time of End User Agreement creation in ISO8601 DateTime String Format
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Identifier of this particular End User Agreement
final
- institutionID → String
-
ID of the Institution (bank) associated with the transaction
final
- maxHistoricalDays → int
-
Maximum Historical Days for the agreement.
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
-
toMap(
) → Map< String, dynamic> -
Forms a Map of
String
keys anddynamic
values from Class Data. -
toString(
) → String -
Returns the class data converted to a map as a Serialized JSON String.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited