EventMetadata.fromJson constructor

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

Implementation

factory EventMetadata.fromJson(Map<String, dynamic> json) {
  return EventMetadata(
    key: json['key'] as String,
    value: json['value'] as String,
  );
}