ThirdPartyJobDetails.fromJson constructor

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

Implementation

factory ThirdPartyJobDetails.fromJson(Map<String, dynamic> json) {
  return ThirdPartyJobDetails(
    data: json['data'] != null
        ? ThirdPartyJobData.fromJson(json['data'] as Map<String, dynamic>)
        : null,
    id: json['id'] as String?,
    nonce: json['nonce'] as String?,
  );
}