copyWith method

LocationBean copyWith({
  1. LocationBeanType? type,
  2. String? projectKeyOrId,
})

Implementation

LocationBean copyWith({LocationBeanType? type, String? projectKeyOrId}) {
  return LocationBean(
    type: type ?? this.type,
    projectKeyOrId: projectKeyOrId ?? this.projectKeyOrId,
  );
}