ErrorTrait.fromJson constructor

ErrorTrait.fromJson(
  1. Object? json
)

Implementation

factory ErrorTrait.fromJson(Object? json) => ErrorTrait(json as String);