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 (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (principalInfo != null) 'principalInfo': principalInfo!,
      if (resourceInfo != null) 'resourceInfo': resourceInfo!,
      if (state != null) 'state': state!,
      if (uid != null) 'uid': uid!,
      if (updateTime != null) 'updateTime': updateTime!,
    };