SubscriptionInfo.fromJsonString constructor

SubscriptionInfo.fromJsonString(
  1. String source
)

Parses a SubscriptionInfo from a JSON string.

Implementation

factory SubscriptionInfo.fromJsonString(String source) {
  final json = jsonDecode(source) as Map<String, dynamic>;
  return SubscriptionInfo.fromJson(json);
}