toJson method

  1. @override
Map<String, dynamic> toJson()

Converts this to a JSON compatible map. For a description of the format, see fromDynamic.

Implementation

@override
Map<String, dynamic> toJson() => {
      'caseSensitive': caseSensitive,
      'equals': equals,
      'testableId': testableId,
      'timeout': timeout?.inSeconds,
      'value': value,
    };