props property Null safety

List<Object> props
override

The list of properties that will be used to determine whether two instances are equal.

Implementation

@override
List<Object> get props {
  final channelProps = super.props;
  channelProps.addAll([
    'org: $org',
    'suborg: $suborg',
    'banner: $banner',
    'twitter: $twitter',
    'videoCount: $videoCount',
    'subscriberCount: $subscriberCount',
    'viewCount: $viewCount',
    'clipCount: $clipCount',
    'lang: $lang',
    'publishedAt: $publishedAt',
    'inactive: $inactive',
    'description: $description',
  ]);

  return channelProps;
}