Invitation.fromJson constructor
Implementation
factory Invitation.fromJson(Map<String, dynamic> json) => Invitation(
share_id: json['share_id'] as String,
channel: json['channel'] == null ? null : json['channel'] as String,
url: json['url'] as String,
created: json['created'] == null ? null : json['created'] as String,
redeemed: json['redeemed'] as int,
description: json['description'] == null ? null : json['description'] as String,
);