Purpose.fromJson constructor

Purpose.fromJson(
  1. Object? json
)

Implementation

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