toJson method Null safety

  1. @override
Object toJson(
  1. T object
)
override

Implementation

@override
Object toJson(T object) {
  return object as Object;
}