toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (archiveTime != null) 'archiveTime': archiveTime!,
      if (archived != null) 'archived': archived!,
      if (dataId != null) 'dataId': dataId!,
      if (name != null) 'name': name!,
      if (resourceAttributes != null)
        'resourceAttributes': resourceAttributes!,
      if (userId != null) 'userId': userId!,
    };