copyWithSignature property

String copyWithSignature

Implementation

String get copyWithSignature {
  final params = (this.fields.isNotEmpty)
      ? '{' + this.fields.map((field) => field.copyWithParam).join('') + '}'
      : '';
  return '${this.mixinType} copyWith($params)';
}