Doctor.fromMap constructor

Doctor.fromMap(
  1. Map snapshot,
  2. String id
)

Implementation

Doctor.fromMap(super.snapshot, super.id)
    : noOfMother = snapshot['noOfMother'],
      noOfTests = snapshot['noOfTests'],
      super.fromMap();