StorePage.fromJson constructor

StorePage.fromJson(
  1. Map json_
)

Implementation

StorePage.fromJson(core.Map json_)
    : this(
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        link: json_.containsKey('link')
            ? (json_['link'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        name: json_.containsKey('name')
            ? (json_['name'] as core.List)
                .map((value) => LocalizedText.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );