TextTrackStyle.fromJson constructor
- String source
Creates a TextTrackStyle from a JSON string.
Implementation
factory TextTrackStyle.fromJson(String source) =>
TextTrackStyle.fromMap(json.decode(source));
Creates a TextTrackStyle from a JSON string.
factory TextTrackStyle.fromJson(String source) =>
TextTrackStyle.fromMap(json.decode(source));