ProjectInfo.fromJson constructor

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

Implementation

factory ProjectInfo.fromJson(Map<String, dynamic> json) => ProjectInfo(
      projectId: json["projectId"],
      serverAddress: json["serverAddress"],
      licenseKey: json["licenseKey"],
      googleMapKey: json["googleMapKey"],
      iOSContainerId: json["iOSContainerId"],
      storageFolderName: json["storageFolderName"] ?? "",
      isTrialLicenceKey: json["isTrialLicenceKey"] ?? true,
      enableMobileNumberLogin: json["enableMobileNumberLogin"] ?? true,
    );