toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (deleteTime != null) 'deleteTime': deleteTime!,
      if (group != null) 'group': group!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (role != null) 'role': role!,
      if (state != null) 'state': state!,
      if (uid != null) 'uid': uid!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (user != null) 'user': user!,
    };