editFrameWithData method
EditorResult
editFrameWithData({
- required int start,
- required String frameID,
- required int frameSize,
- bool compression = false,
- required MetadataEditableWrapper data,
Implementation
EditorResult editFrameWithData(
{required int start,
required String frameID,
required int frameSize,
bool compression = false,
required MetadataEditableWrapper data}) {
if (data is MetadataV2p3Wrapper) {
return _editFrameWithV2p3Data(
start, frameID, frameSize, compression, data);
} else if (data is MetadataV2p4Wrapper) {
return _editFrameWithV2p4Data(
start, frameID, frameSize, compression, data);
}
return EditorResult.noEdit(
frameID: frameID, start: start, frameSize: frameSize);
}