RegistrationInformation.fromJSON constructor
RegistrationInformation.fromJSON(
- Map<String, dynamic> data
)
Implementation
factory RegistrationInformation.fromJSON(Map<String, dynamic> data) {
return RegistrationInformation(
(data["firstName"] as String),
(data["lastName"] as String),
(data["emailAddress"] as String),
userOptions: (data["userOptions"] as String?),
userRoles: (data["userRoles"] as List<dynamic>).map((x0) => (x0 as String) ).toSet(),
minimumKrakenVersion: (data["minimumKrakenVersion"] as String?),
);
}