RelationBean.fromJson constructor

RelationBean.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory RelationBean.fromJson(Map<String, Object?> json) {
  return RelationBean(
    id: json[r'id'] as String?,
    self: json[r'self'] as String?,
  );
}