CustomAttribute.fromJson constructor

CustomAttribute.fromJson(
  1. Map json_
)

Implementation

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