Video.fromJson constructor

Video.fromJson(
  1. String data
)

dart:convert

Parses the string and returns the resulting Json object as Video.

Implementation

factory Video.fromJson(String data) {
  return Video.fromMap(json.decode(data) as Map<String, dynamic>);
}