CustomAttribute.fromJson constructor

CustomAttribute.fromJson(
  1. Map json_
)

Implementation

CustomAttribute.fromJson(core.Map json_)
  : this(
      filterable: json_['filterable'] as core.bool?,
      keywordSearchable: json_['keywordSearchable'] as core.bool?,
      longValues:
          (json_['longValues'] as core.List?)
              ?.map((value) => value as core.String)
              .toList(),
      stringValues:
          (json_['stringValues'] as core.List?)
              ?.map((value) => value as core.String)
              .toList(),
    );