Actor constructor

Actor({
  1. String? reference,
  2. String? display,
})

Creates a new Actor instance.

Implementation

Actor({
  String? reference,
  String? display,
}) : this.fromJson(
        JsonObject(<String, JsonValue>{
          if (reference != null) 'reference': JsonString(reference),
          if (display != null) 'display': JsonString(display),
        }),
      );