Component.fromJson constructor

Component.fromJson(
  1. String data
)

dart:convert

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

Implementation

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