RutokenDeviceEvent.fromJSON constructor

RutokenDeviceEvent.fromJSON(
  1. Map<String, dynamic> json
)

Implementation

factory RutokenDeviceEvent.fromJSON(Map<String, dynamic> json) {
  return RutokenDeviceEvent(
    type: RutokenDeviceEventType.fromString(json['type']),
    name: json['deviceName'],
  );
}