Theme.fromJson constructor

Theme.fromJson(
  1. String data
)

dart:convert

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

Implementation

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