fromJson method

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

Implementation

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