fromJSON static method

EncryptedEmploymentInfo fromJSON(
  1. Map<String, dynamic> data
)
override

Implementation

static EncryptedEmploymentInfo fromJSON(Map<String, dynamic> data) {
	return EncryptedEmploymentInfo(
		startDate: (data["startDate"] as int?),
		endDate: (data["endDate"] as int?),
		professionType: data["professionType"] == null ? null : CodeStub.fromJSON(data["professionType"]),
		employer: data["employer"] == null ? null : Employer.fromJSON(data["employer"]),
		encryptedSelf: (data["encryptedSelf"] as Base64String?)
	);
}