toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (country != null) 'country': country!,
      if (language != null) 'language': language!,
      if (variant != null) 'variant': variant!,
    };