SubscriptionContentDetails.fromJson constructor

SubscriptionContentDetails.fromJson(
  1. Map json_
)

Implementation

SubscriptionContentDetails.fromJson(core.Map json_)
    : this(
        activityType: json_.containsKey('activityType')
            ? json_['activityType'] as core.String
            : null,
        newItemCount: json_.containsKey('newItemCount')
            ? json_['newItemCount'] as core.int
            : null,
        totalItemCount: json_.containsKey('totalItemCount')
            ? json_['totalItemCount'] as core.int
            : null,
      );