Member.fromJson constructor

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

Implementation

factory Member.fromJson(Map<String, dynamic> json) {
  return Member(
    accountId: json['accountId'] as String,
    email: json['email'] as String,
    masterId: json['masterId'] as String,
    relationshipStatus: json['relationshipStatus'] as String,
    updatedAt: json['updatedAt'] as String,
    detectorId: json['detectorId'] as String?,
    invitedAt: json['invitedAt'] as String?,
  );
}