annotation property

String get annotation

Implementation

String get annotation {
  final sb = StringBuffer();
  if (!copyWith) {
    sb.write('copyWith: false,');
  }
  if (!equal) {
    sb.write('equal: false,');
  }
  if (!makeCollectionsUnmodifiable) {
    sb.write('makeCollectionsUnmodifiable: false,');
  }
  if (sb.isEmpty) {
    return 'freezed';
  } else {
    return 'Freezed($sb)';
  }
}