ComputedStyle.fromJson constructor

ComputedStyle.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ComputedStyle.fromJson(Map<String, dynamic> json) {
  return ComputedStyle(
    properties: (json['properties'] as List)
        .map((e) => NameValue.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}