RoleInfo.fromJson constructor

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

Implementation

factory RoleInfo.fromJson(Map<String, dynamic> json) {
  return RoleInfo(json['name'], json['title']);
}