ExecuteExtensionResponse.fromJson constructor

ExecuteExtensionResponse.fromJson(
  1. Object? j
)

Implementation

factory ExecuteExtensionResponse.fromJson(Object? j) {
  final json = j as Map<String, Object?>;
  return ExecuteExtensionResponse(
    content: switch (json['content']) {
      null => '',
      Object $1 => decodeString($1),
    },
  );
}