RequestNotificationSubscriptionDTO.fromJson constructor

RequestNotificationSubscriptionDTO.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory RequestNotificationSubscriptionDTO.fromJson(
    Map<String, Object?> json) {
  return RequestNotificationSubscriptionDTO(
    subscribed: json[r'subscribed'] as bool? ?? false,
  );
}