UserRole.fromJson constructor

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

Implementation

factory UserRole.fromJson(Map<String, dynamic> json) {
  return UserRole(
      id: json['id'],
      name: json['id'],
      user: json['user'],
      dirty: json['dirty']);
}