Organization.fromMap constructor

Organization.fromMap(
  1. Map snapshot
)

Constructs an Organization instance from a map.

snapshot is a map containing the organization data. id is the unique identifier of the organization.

Implementation

Organization.fromMap(super.snapshot)
      :noOfDevices = snapshot['noOfTests'] ?? 0,
      super.fromMap();