Instabug-Flutter icon indicating copy to clipboard operation
Instabug-Flutter copied to clipboard

Add default values to network data object

Open alyezz opened this issue 4 years ago • 2 comments

Summary of Changes

  • Add default initialization values to Network Data object to prevent null pointer exceptions
  • Add toString conversion

alyezz avatar Dec 07 '20 19:12 alyezz

Codecov Report

Merging #153 (e4dd6b8) into master (f9e030a) will not change coverage. The diff coverage is 0.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #153   +/-   ##
=======================================
  Coverage   73.15%   73.15%           
=======================================
  Files          14       14           
  Lines         555      555           
=======================================
  Hits          406      406           
  Misses        149      149           
Impacted Files Coverage Δ
lib/models/network_data.dart 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update f9e030a...e4dd6b8. Read the comment docs.

codecov[bot] avatar Dec 07 '20 19:12 codecov[bot]

1 Error
:no_entry_sign: Please include a CHANGELOG entry.
You can find it at CHANGELOG.md.

Generated by :no_entry_sign: Danger

InstabugCI avatar Dec 08 '20 11:12 InstabugCI

Closing this because it's now outdated (a lot have changed in the past 2 years). We now have a constructor for NetworkData, that handles this case.

TheBuggedYRN avatar Nov 10 '22 08:11 TheBuggedYRN