AddGroupBean.fromJson constructor

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

Implementation

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