toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'livepeerInfo': livepeerInfo,
    'hostAddress': hostAddress,
    if (coHostAddress != null) 'coHostAddress': coHostAddress,
  };
}