MyError.json constructor

const MyError.json({
  1. required String source,
})

Implementation

const factory MyError.json({
  required String source,
}) = MyError_Json;