stringTimestampToDate static method

DateTime stringTimestampToDate(
  1. dynamic json
)

Returns a DateTime from a JSON-encoded String (e.g. '2021-10-29T11:00:56.177379')

Implementation

static DateTime stringTimestampToDate(dynamic json) =>
    DateTime.parse(json as String);