fromString static method
Implementation
static VideoCaption? fromString(String string) => switch (string) {
"false" => none,
"true" => closedCaption,
_ => null,
};
static VideoCaption? fromString(String string) => switch (string) {
"false" => none,
"true" => closedCaption,
_ => null,
};