Organization.fromJson constructor

Organization.fromJson(
  1. Map json_
)

Implementation

Organization.fromJson(core.Map json_)
    : this(
        costCenter: json_.containsKey('costCenter')
            ? json_['costCenter'] as core.String
            : null,
        current: json_.containsKey('current')
            ? json_['current'] as core.bool
            : null,
        department: json_.containsKey('department')
            ? json_['department'] as core.String
            : null,
        domain: json_.containsKey('domain')
            ? json_['domain'] as core.String
            : null,
        endDate: json_.containsKey('endDate')
            ? Date.fromJson(
                json_['endDate'] as core.Map<core.String, core.dynamic>)
            : null,
        formattedType: json_.containsKey('formattedType')
            ? json_['formattedType'] as core.String
            : null,
        fullTimeEquivalentMillipercent:
            json_.containsKey('fullTimeEquivalentMillipercent')
                ? json_['fullTimeEquivalentMillipercent'] as core.int
                : null,
        jobDescription: json_.containsKey('jobDescription')
            ? json_['jobDescription'] as core.String
            : null,
        location: json_.containsKey('location')
            ? json_['location'] as core.String
            : null,
        metadata: json_.containsKey('metadata')
            ? FieldMetadata.fromJson(
                json_['metadata'] as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        phoneticName: json_.containsKey('phoneticName')
            ? json_['phoneticName'] as core.String
            : null,
        startDate: json_.containsKey('startDate')
            ? Date.fromJson(
                json_['startDate'] as core.Map<core.String, core.dynamic>)
            : null,
        symbol: json_.containsKey('symbol')
            ? json_['symbol'] as core.String
            : null,
        title:
            json_.containsKey('title') ? json_['title'] as core.String : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );