GattOperationReceivedEvent.fromJson constructor

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

Implementation

factory GattOperationReceivedEvent.fromJson(Map<String, dynamic> json) {
  return GattOperationReceivedEvent(
    address: json['address'] as String,
    type: GATTOperationType.fromJson(json['type'] as String),
  );
}