toJson method

Map toJson()

Implementation

Map toJson() => {
      'timeout': timeout,
      'attempt': attempt,
    };