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 {
  return [
    'id: $id',
    'name" $name',
    'englishName: $englishName',
    'type: $type',
    'photo: $photo',
  ];
}