IdentityList.fromMap constructor

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

Implementation

factory IdentityList.fromMap(Map<String, dynamic> map) {
  return IdentityList(
    total: map['total'],
    identities: List<Identity>.from(
        map['identities'].map((p) => Identity.fromMap(p))),
  );
}