BasicEvent.fromJson constructor

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

Implementation

BasicEvent.fromJson(Map<String, Object?> json)
    : type = json['type'] as String,
      content = (json['content'] as Map<String, Object?>).copy();