title: How to convert time stamp string from 24 hr format to 12 hr format in dart?
body: <p>I am working on flutter application where i have to show time stamps but the response i got from api is in 24 hr format and i want to display time in 12 hr format in my application.<a href="https://i.stack.imgur.com/iBPny.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/iBPny.jpg" alt="Here is the json response from api"></a></p>
  
  <p><strong>And i want to display on application in this format</strong> <a href="https://i.stack.imgur.com/BLSMf.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/BLSMf.jpg" alt="I want in this format"></a>
  Can you please help me regarding the easiest way of doing the formatting from 24 hr to 12 hr?</p>