RoleLevelSecurityModel.fromJson constructor

RoleLevelSecurityModel.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory RoleLevelSecurityModel.fromJson(Map<String, dynamic> json) {
  return RoleLevelSecurityModel(
    read: json['read'],
    write: json['write'],
    update: json['update'],
    delete: json['delete'],
    uid: json['id'],
  );
}