AppInstanceUserMembershipSummary.fromJson constructor

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

Implementation

factory AppInstanceUserMembershipSummary.fromJson(Map<String, dynamic> json) {
  return AppInstanceUserMembershipSummary(
    readMarkerTimestamp: timeStampFromJson(json['ReadMarkerTimestamp']),
    type: (json['Type'] as String?)?.toChannelMembershipType(),
  );
}