ReceiveGSR.fromMap constructor

ReceiveGSR.fromMap(
  1. Map map
)

Implementation

factory ReceiveGSR.fromMap(Map<dynamic, dynamic> map) {
  final double timestamp = map['timestamp'];
  final double gsr = map['gsr'];
  return ReceiveGSR(timestamp, gsr);
}