toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (deleted != null) 'deleted': deleted!,
      if (email != null) 'email': email!,
      if (family != null) 'family': family!,
      if (group != null) 'group': group!,
      if (name != null) 'name': name!,
      if (role != null) 'role': role!,
      if (user != null) 'user': user!,
    };