UserDetails constructor Null safety

UserDetails(
  1. String result,
  2. Data data
)

Implementation

UserDetails(this.result, this.data);