toJson static method

String? toJson(
  1. Locale? locale
)

Implementation

static String? toJson(Locale? locale) => locale?.toLanguageTag();