toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final className = this.className;
  final functionName = this.functionName;
  final ownerName = this.ownerName;
  final ownerType = this.ownerType;
  final resourceUris = this.resourceUris;
  return {
    if (className != null) 'ClassName': className,
    if (functionName != null) 'FunctionName': functionName,
    if (ownerName != null) 'OwnerName': ownerName,
    if (ownerType != null) 'OwnerType': ownerType.toValue(),
    if (resourceUris != null) 'ResourceUris': resourceUris,
  };
}