toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (createTime != null) 'createTime': createTime!,
  if (displayName != null) 'displayName': displayName!,
  if (inactiveReason != null) 'inactiveReason': inactiveReason!,
  if (name != null) 'name': name!,
  if (state != null) 'state': state!,
  if (studySpec != null) 'studySpec': studySpec!,
};