toEntity method Null safety

  1. @override
Entity toEntity(
  1. Domain domain
)
override

By default ....

Implementation

@override
Entity toEntity(Domain domain) {
  throw UnimplementedError("no se ha implementado"); //todo: implement
}