TGetWhoamiResponse.fromJson constructor
TGetWhoamiResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory TGetWhoamiResponse.fromJson(Map<String, dynamic> json) {
final _organizationId = json['organizationId'] as String;
final _organizationName = json['organizationName'] as String;
final _userId = json['userId'] as String;
final _username = json['username'] as String;
return TGetWhoamiResponse(
organizationId: _organizationId,
organizationName: _organizationName,
userId: _userId,
username: _username,
);
}