toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'annotations': annotations,
'generation': generation,
'labels': labels,
'name': name,
'namespace': namespace,
'resourceVersion': resourceVersion,
'selfLink': selfLink,
'uid': uid,
};
}