Entitlement.fromJson constructor

Entitlement.fromJson(
  1. Map json_
)

Implementation

Entitlement.fromJson(core.Map json_)
    : this(
        productId: json_.containsKey('productId')
            ? json_['productId'] as core.String
            : null,
        reason: json_.containsKey('reason')
            ? json_['reason'] as core.String
            : null,
      );