toJson method

String toJson()

Implementation

String toJson() => json.encode(serializers.serializeWith(Country.serializer, this));