Permission.fromMap constructor

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

Implementation

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