Contentdetail.fromJson constructor

Contentdetail.fromJson(
  1. String data
)

dart:convert

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

Implementation

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