SourceAddedEventData.fromJson constructor

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

Implementation

SourceAddedEventData.fromJson(Map<String, dynamic> json)
  : timestamp = json['timestamp'] as int,
    id = json['sourceId'] as String;