InterestGroupAccessedEvent.fromJson constructor

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

Implementation

factory InterestGroupAccessedEvent.fromJson(Map<String, dynamic> json) {
  return InterestGroupAccessedEvent(
    accessTime: network.TimeSinceEpoch.fromJson(json['accessTime'] as num),
    type: InterestGroupAccessType.fromJson(json['type'] as String),
    ownerOrigin: json['ownerOrigin'] as String,
    name: json['name'] as String,
  );
}