fromJsonString method Null safety

BookletEntity? fromJsonString(
  1. String json,
  2. {Map<String, String>? newDocumentIds}
)

Implementation

static BookletEntity? fromJsonString(String json,
    {Map<String, String>? newDocumentIds}) {
  Map<String, dynamic>? generationSpecificationMap = jsonDecode(json);
  return fromMap(generationSpecificationMap, newDocumentIds: newDocumentIds);
}