copyWith method
Implementation
MeshagentEndpointSpec copyWith({String? identity, ApiScope? api}) {
return MeshagentEndpointSpec(identity: identity ?? this.identity, api: api ?? this.api);
}
MeshagentEndpointSpec copyWith({String? identity, ApiScope? api}) {
return MeshagentEndpointSpec(identity: identity ?? this.identity, api: api ?? this.api);
}