Status.fromMap constructor

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

Implementation

factory Status.fromMap(Map<String, dynamic> map) {
  return Status(
    type: map['_type'],
    missing: map['missing'],
    total: map['total'],
    other: map['other'],
    terms: List<Term>.from(map['terms']?.map((x) => Term.fromMap(x))),
  );
}