BlogLocale.fromJson constructor

BlogLocale.fromJson(
  1. Map json_
)

Implementation

BlogLocale.fromJson(core.Map json_)
    : this(
        country: json_.containsKey('country')
            ? json_['country'] as core.String
            : null,
        language: json_.containsKey('language')
            ? json_['language'] as core.String
            : null,
        variant: json_.containsKey('variant')
            ? json_['variant'] as core.String
            : null,
      );