Qualification.fromJson constructor

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

Implementation

factory Qualification.fromJson(Map<String, dynamic> json) {
  return Qualification(
    grantTime: timeStampFromJson(json['GrantTime']),
    integerValue: json['IntegerValue'] as int?,
    localeValue: json['LocaleValue'] != null
        ? Locale.fromJson(json['LocaleValue'] as Map<String, dynamic>)
        : null,
    qualificationTypeId: json['QualificationTypeId'] as String?,
    status: (json['Status'] as String?)?.toQualificationStatus(),
    workerId: json['WorkerId'] as String?,
  );
}