MatchingJob.fromJson constructor

MatchingJob.fromJson(
  1. Map json_
)

Implementation

MatchingJob.fromJson(core.Map json_)
    : this(
        commuteInfo: json_.containsKey('commuteInfo')
            ? CommuteInfo.fromJson(
                json_['commuteInfo'] as core.Map<core.String, core.dynamic>)
            : null,
        job: json_.containsKey('job')
            ? Job.fromJson(
                json_['job'] as core.Map<core.String, core.dynamic>)
            : null,
        jobSummary: json_.containsKey('jobSummary')
            ? json_['jobSummary'] as core.String
            : null,
        jobTitleSnippet: json_.containsKey('jobTitleSnippet')
            ? json_['jobTitleSnippet'] as core.String
            : null,
        searchTextSnippet: json_.containsKey('searchTextSnippet')
            ? json_['searchTextSnippet'] as core.String
            : null,
      );