toJson method Null safety

  1. @override
String toJson()

Implementation

@override
String toJson() => profile.toJson();