JobDerivedInfo.fromJson constructor

JobDerivedInfo.fromJson(
  1. Map json_
)

Implementation

JobDerivedInfo.fromJson(core.Map json_)
    : this(
        jobCategories: json_.containsKey('jobCategories')
            ? (json_['jobCategories'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        locations: json_.containsKey('locations')
            ? (json_['locations'] as core.List)
                .map((value) => Location.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );