toJson method Null safety

String toJson()

Implementation

String toJson() => jsonEncode(_base.map((e) => e.toMap()).toList());