EventWorkingLocationProperties.fromJson constructor

EventWorkingLocationProperties.fromJson(
  1. Map json_
)

Implementation

EventWorkingLocationProperties.fromJson(core.Map json_)
  : this(
      customLocation: json_.containsKey('customLocation')
          ? EventWorkingLocationPropertiesCustomLocation.fromJson(
              json_['customLocation'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      homeOffice: json_['homeOffice'],
      officeLocation: json_.containsKey('officeLocation')
          ? EventWorkingLocationPropertiesOfficeLocation.fromJson(
              json_['officeLocation'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      type: json_['type'] as core.String?,
    );