InternalPropertyDescriptor.fromJson constructor

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

Implementation

factory InternalPropertyDescriptor.fromJson(Map<String, dynamic> json) {
  return InternalPropertyDescriptor(
    name: json['name'] as String,
    value: json.containsKey('value')
        ? RemoteObject.fromJson(json['value'] as Map<String, dynamic>)
        : null,
  );
}