toMap method

JsonMap toMap()

Implementation

JsonMap toMap() => {
      'connected': connected,
      if (networkType != null) 'networkType': networkType,
    };