Receiver.fromMap constructor

Receiver.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory Receiver.fromMap(Map<String, dynamic> map) {
  return Receiver(
    id: map['id'],
    name: map['name'],
  );
}