fromJSON method

  1. @override
FuzzySet fromJSON(
  1. Map<String, dynamic> json
)
override

Restores this instance from the given JSON object.

Implementation

@override
FuzzySet fromJSON(Map<String,dynamic> json ) {
    super.fromJSON(json);
	degreeOfMembership = json['degreeOfMembership'];
	representativeValue = json['representativeValue'];
	left = json['left'];
	right = json['right'];

	return this;
}