IncompatibilityMessage.fromJson constructor

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

Implementation

factory IncompatibilityMessage.fromJson(Map<String, dynamic> json) {
  return IncompatibilityMessage(
    message: json['message'] as String?,
    type: (json['type'] as String?)?.toDeviceAttribute(),
  );
}