toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (description != null) 'description': description!,
      if (ipCidrRange != null) 'ipCidrRange': ipCidrRange!,
      if (labels != null) 'labels': labels!,
      if (location != null) 'location': location!,
      if (name != null) 'name': name!,
      if (nextHopVpcNetwork != null) 'nextHopVpcNetwork': nextHopVpcNetwork!,
      if (spoke != null) 'spoke': spoke!,
      if (state != null) 'state': state!,
      if (type != null) 'type': type!,
      if (uid != null) 'uid': uid!,
      if (updateTime != null) 'updateTime': updateTime!,
    };