Closed giljulio closed 1 year ago
Hi @giljulio 👋 Thanks for opening an issue!
Can you please provide a minimal reproduction sample?
import 'package:equatable/equatable.dart';
class Person extends Equatable {
const Person(this.name);
final String? name;
@override
List<Object?> get props => [name];
@override
bool? get stringify => true;
}
void main() {
final unknown = Person(null);
print(unknown.toString()); // Person(null)
}
Closing for now as I'm unable to reproduce.
@felangel hey sorry I didn't get back to you. I also tried to reproduce it just now but I can't anymore 🤔
I'll let you know if I find something though. Thanks!
Status
READY
Breaking Changes
NO
Description
When a property is null and toString is invoked, a NPE is throw