copyWith method

EntityReference copyWith({
  1. String? key,
  2. String? name,
  3. String? type,
})

Implementation

EntityReference copyWith({
  String? key,
  String? name,
  String? type,
}) =>
    EntityReference(
      key: key ?? this.key,
      name: name ?? this.name,
      type: type ?? this.type,
    );