createResultOrNull property
CreateResult?
get
createResultOrNull
Returns CreateResult if this data is CreateResult, otherwise null.
Implementation
CreateResult? get createResultOrNull => isCreateResult ? createResult : null;