ProductSet.fromJson constructor

ProductSet.fromJson(
  1. Map json_
)

Implementation

ProductSet.fromJson(core.Map json_)
    : this(
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        indexError: json_.containsKey('indexError')
            ? Status.fromJson(
                json_['indexError'] as core.Map<core.String, core.dynamic>)
            : null,
        indexTime: json_.containsKey('indexTime')
            ? json_['indexTime'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
      );