MemberSummary.fromJson constructor

MemberSummary.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory MemberSummary.fromJson(Map<String, dynamic> json) {
  return MemberSummary(
    creationDate: timeStampFromJson(json['CreationDate']),
    description: json['Description'] as String?,
    id: json['Id'] as String?,
    isOwned: json['IsOwned'] as bool?,
    name: json['Name'] as String?,
    status: (json['Status'] as String?)?.toMemberStatus(),
  );
}