HistoryMetadataParticipant.fromJson constructor

HistoryMetadataParticipant.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory HistoryMetadataParticipant.fromJson(Map<String, Object?> json) {
  return HistoryMetadataParticipant(
    id: json[r'id'] as String?,
    displayName: json[r'displayName'] as String?,
    displayNameKey: json[r'displayNameKey'] as String?,
    type: json[r'type'] as String?,
    avatarUrl: json[r'avatarUrl'] as String?,
    url: json[r'url'] as String?,
  );
}