AppDetails.fromJson constructor

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

Implementation

factory AppDetails.fromJson(Map<String, dynamic> json) {
  return AppDetails(
    appName: json['AppName'] as String?,
    appType: (json['AppType'] as String?)?.toAppType(),
    creationTime: timeStampFromJson(json['CreationTime']),
    domainId: json['DomainId'] as String?,
    status: (json['Status'] as String?)?.toAppStatus(),
    userProfileName: json['UserProfileName'] as String?,
  );
}