EntitlementsListResponse.fromJson constructor

EntitlementsListResponse.fromJson(
  1. Map json_
)

Implementation

EntitlementsListResponse.fromJson(core.Map json_)
    : this(
        entitlement: json_.containsKey('entitlement')
            ? (json_['entitlement'] as core.List)
                .map((value) => Entitlement.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );