だこと

what a ...

→ だ
phrase Rare #33,497
what a ... A sentence-final exclamation expressing admiration or surprise, similar to “How ...!” or “What a ...!” It has a feminine, old-fashioned, or literary feel and is often used with an adjective or noun phrase before it.
JA: なんてきれいな景色だこと!
EN: What a beautiful view!

こりゃまた豪華なだこと

Well, aren't these some fancy flowers!

あらかわいい女の子だこと

Oh my, what a cute girl.

まあまあかわいい魔女さんだこと

Well, aren’t you a cute little witch!

— 魔女の宅急便 (1989)

まぁ見事なだこと

Oh, what beautiful flowers!