Member.fromJson constructor
Implementation
factory Member.fromJson(Map<String, dynamic> json) {
return Member(
disabledDate: timeStampFromJson(json['DisabledDate']),
enabledDate: timeStampFromJson(json['EnabledDate']),
id: json['Id'] as String?,
name: json['Name'] as String?,
state: (json['State'] as String?)?.toEntityState(),
type: (json['Type'] as String?)?.toMemberType(),
);
}