TerminalReaderReaderResourceSetReaderDisplayAction.fromJson constructor

TerminalReaderReaderResourceSetReaderDisplayAction.fromJson(
  1. Object? json
)

Implementation

factory TerminalReaderReaderResourceSetReaderDisplayAction.fromJson(
    Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return TerminalReaderReaderResourceSetReaderDisplayAction(
      cart: map['cart'] == null
          ? null
          : TerminalReaderReaderResourceCart.fromJson(map['cart']));
}