copy method
Creates a copy of this frame
Implementation
StompFrame copy() {
return StompFrame(
command: command,
headers: Map<String, String>.from(headers),
body: body != null ? Uint8List.fromList(body!) : null,
);
}
Creates a copy of this frame
StompFrame copy() {
return StompFrame(
command: command,
headers: Map<String, String>.from(headers),
body: body != null ? Uint8List.fromList(body!) : null,
);
}