Member.fromJson constructor

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

Implementation

factory Member.fromJson(Map<String, dynamic> json) {
  return Member(
    creationDate: timeStampFromJson(json['CreationDate']),
    description: json['Description'] as String?,
    frameworkAttributes: json['FrameworkAttributes'] != null
        ? MemberFrameworkAttributes.fromJson(
            json['FrameworkAttributes'] as Map<String, dynamic>)
        : null,
    id: json['Id'] as String?,
    logPublishingConfiguration: json['LogPublishingConfiguration'] != null
        ? MemberLogPublishingConfiguration.fromJson(
            json['LogPublishingConfiguration'] as Map<String, dynamic>)
        : null,
    name: json['Name'] as String?,
    networkId: json['NetworkId'] as String?,
    status: (json['Status'] as String?)?.toMemberStatus(),
  );
}