RealmAccess.fromMap constructor

RealmAccess.fromMap(
  1. Map<String, dynamic> json
)

Implementation

factory RealmAccess.fromMap(Map<String, dynamic> json) => RealmAccess(
      roles: json["roles"] == null
          ? []
          : List<String>.from(json["roles"]!.map((x) => x)),
    );