User constructor

  1. @Implements<Identity>()
const User({
  1. required String id,
  2. required String name,
})

Implementation

@Implements<Identity>()
const factory User({
  required String id,
  required String name,
}) = _User;