toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (blockchainType != null) 'blockchainType': blockchainType!,
      if (connectionInfo != null) 'connectionInfo': connectionInfo!,
      if (createTime != null) 'createTime': createTime!,
      if (ethereumDetails != null) 'ethereumDetails': ethereumDetails!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (privateServiceConnectEnabled != null)
        'privateServiceConnectEnabled': privateServiceConnectEnabled!,
      if (state != null) 'state': state!,
      if (updateTime != null) 'updateTime': updateTime!,
    };