BeaResultCurrentUserInfo.fromJson constructor

BeaResultCurrentUserInfo.fromJson(
  1. Map<String, dynamic> json
)

Implementation

BeaResultCurrentUserInfo.fromJson(Map<String, dynamic> json) {
  user = json['user'] != null ? new BeaUser.fromJson(json['user']) : null;
  tenant = json['tenant'] != null ? new BeaTenant.fromJson(json['tenant']) : null;
  lastAccess = DateTime.tryParse(json['lastAccess'] != null ? json['lastAccess'] : "");
}