BulkEditAssignedLocationsRequest.fromJson constructor

BulkEditAssignedLocationsRequest.fromJson(
  1. Map json_
)

Implementation

BulkEditAssignedLocationsRequest.fromJson(core.Map json_)
    : this(
        createdAssignedLocations:
            json_.containsKey('createdAssignedLocations')
                ? (json_['createdAssignedLocations'] as core.List)
                    .map((value) => AssignedLocation.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                    .toList()
                : null,
        deletedAssignedLocations:
            json_.containsKey('deletedAssignedLocations')
                ? (json_['deletedAssignedLocations'] as core.List)
                    .map((value) => value as core.String)
                    .toList()
                : null,
      );